/**
 * Maps urls's to actions.
 * 
 * @author Vikram Somu
 *
 */

class UrlMappings {

	static mappings = {
		"/$controller/$action?/$id?"{
			constraints {
				// apply constraints here
			}
		}

		"/"(view:"/index")
		"500"(view:'/error')
		
		/**
		 * Set the home to be the seed list.
		 * 
		 */
		
		"/"{
			controller = "seed"
			action = "list"
		}
	}
}
